<?php

class openapi_finder_response_log {

    var $detail_basic = "详细信息";

    public function __construct($app) {
        $this->app = $app;
    }

    public function detail_basic($log_id) {
        $render = $this->app->render();
        $data = $this->app->model('response_log')->dump($log_id, '*');
        $data['appParams'] = unserialize($data['appParams']);
        $data['orgappParams'] = json_encode($data['appParams']['content']);
        $data['responseData'] = unserialize($data['responseData']);
        $render->pagedata['info'] = $data;
        return $render->fetch('admin/log/response/info.html');
    }
}